package com.bank;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 银行业务管理系统启动类
 * 
 * @author 开发团队
 * @version 1.0.0
 * @since 2025-06-19
 */
@SpringBootApplication
@MapperScan("com.bank.mapper")
@EnableTransactionManagement
public class BankApplication {

    /**
     * 系统启动入口方法
     * 
     * @param args 启动参数
     */
    public static void main(String[] args) {
        SpringApplication.run(BankApplication.class, args);
        System.out.println("=================================");
        System.out.println("银行业务管理系统启动成功！");
        System.out.println("访问地址：http://localhost:8080/");
        // System.out.println("Druid监控：http://localhost:8080/druid");
        System.out.println("=================================");
    }
}
